﻿using System;
using System.Collections.Generic;

namespace QUANLYCHAMCONG.BL.Entities
{
    public class STAFFCollection : List<STAFF>
    { 
        
    }
    public class STAFF
    {
        #region ***** Fields & Properties *****
        private string _MANV;
        public string MANV
        {
            get
            {
                return _MANV;
            }
            set
            {
                _MANV = value;
            }
        }
        private string _TENNV;
        public string TENNV
        {
            get
            {
                return _TENNV;
            }
            set
            {
                _TENNV = value;
            }
        }
        private DateTime _NGAYSINH=DateTime.Now.Date;
        public DateTime NGAYSINH
        {
            get
            {
                return _NGAYSINH;
            }
            set
            {
                _NGAYSINH = value;
            }
        }
        private bool _GIOITINH;
        public bool GIOITINH
        {
            get
            {
                return _GIOITINH;
            }
            set
            {
                _GIOITINH = value;
            }
        }
        private string _DIACHI;
        public string DIACHI
        {
            get
            {
                return _DIACHI;
            }
            set
            {
                _DIACHI = value;
            }
        }
        private string _EMAIL;
        public string EMAIL
        {
            get
            {
                return _EMAIL;
            }
            set
            {
                _EMAIL = value;
            }
        }
        private string _SODT;
        public string SODT
        {
            get
            {
                return _SODT;
            }
            set
            {
                _SODT = value;
            }
        }
        private bool _TINHTRANGHONNHAN;
        public bool TINHTRANGHONNHAN
        {
            get
            {
                return _TINHTRANGHONNHAN;
            }
            set
            {
                _TINHTRANGHONNHAN = value;
            }
        }
        private string _SOCMND;
        public string SOCMND
        {
            get
            {
                return _SOCMND;
            }
            set
            {
                _SOCMND = value;
            }
        }
        private DateTime _NGAYVAODOAN=DateTime.Now.Date;
        public DateTime NGAYVAODOAN
        {
            get
            {
                return _NGAYVAODOAN;
            }
            set
            {
                _NGAYVAODOAN = value;
            }
        }
        private string _THEDOAN;
        public string THEDOAN
        {
            get
            {
                return _THEDOAN;
            }
            set
            {
                _THEDOAN = value;
            }
        }
        private string _NOISINHHOAT;
        public string NOISINHHOAT
        {
            get
            {
                return _NOISINHHOAT;
            }
            set
            {
                _NOISINHHOAT = value;
            }
        }
        private DateTime _NGAYVAODANG=DateTime.Now.Date;
        public DateTime NGAYVAODANG
        {
            get
            {
                return _NGAYVAODANG;
            }
            set
            {
                _NGAYVAODANG = value;
            }
        }
        private string _THEDANG;
        public string THEDANG
        {
            get
            {
                return _THEDANG;
            }
            set
            {
                _THEDANG = value;
            }
        }
        private string _NOISINHHOATDANG;
        public string NOISINHHOATDANG
        {
            get
            {
                return _NOISINHHOATDANG;
            }
            set
            {
                _NOISINHHOATDANG = value;
            }
        }
        private string _GHICHU;
        public string GHICHU
        {
            get
            {
                return _GHICHU;
            }
            set
            {
                _GHICHU = value;
            }
        }
        private DateTime _NGAYBD=DateTime.Now.Date;
        public DateTime NGAYBD
        {
            get
            {
                return _NGAYBD;
            }
            set
            {
                _NGAYBD = value;
            }
        }
        private string _MACTY;
        public string MACTY
        {
            get
            {
                return _MACTY;
            }
            set
            {
                _MACTY = value;
            }
        }
        private string _MABC;
        public string MABC
        {
            get
            {
                return _MABC;
            }
            set
            {
                _MABC = value;
            }
        }
        private string _MAPB;
        public string MAPB
        {
            get
            {
                return _MAPB;
            }
            set
            {
                _MAPB = value;
            }
        }
        private string _MACV;
        public string MACV
        {
            get
            {
                return _MACV;
            }
            set
            {
                _MACV = value;
            }
        }
        private string _MANN;
        public string MANN
        {
            get
            {
                return _MANN;
            }
            set
            {
                _MANN = value;
            }
        }
        private string _MACCM;
        public string MACCM
        {
            get
            {
                return _MACCM;
            }
            set
            {
                _MACCM = value;
            }
        }
        private int _SONGAYPHEP;
        public int SONGAYPHEP
        {
            get
            {
                return _SONGAYPHEP;
            }
            set
            {
                _SONGAYPHEP = value;
            }
        }
        private string _TENCC;
        public string TENCC
        {
            get
            {
                return _TENCC;
            }
            set
            {
                _TENCC = value;
            }
        }
        private string _ANH;
        public string ANH
        {
            get
            {
                return _ANH;
            }
            set
            {
                _ANH = value;
            }
        }
        private string _UserPW;
        public string UserPW
        {
            get
            {
                return _UserPW;
            }
            set
            {
                _UserPW = value;
            }
        }
        private string _UserCardNo;
        public string UserCardNo
        {
            get
            {
                return _UserCardNo;
            }
            set
            {
                _UserCardNo = value;
            }
        }
        private int _UserPrivilege;
        public int UserPrivilege
        {
            get
            {
                return _UserPrivilege;
            }
            set
            {
                _UserPrivilege = value;
            }
        }
        private bool _UserEnabled;
        public bool UserEnabled
        {
            get
            {
                return _UserEnabled;
            }
            set
            {
                _UserEnabled = value;
            }
        }
        #endregion

        #region ***** Init Methods *****
        public STAFF()
        {
        }
        public STAFF(string manv)
        {
            this.MANV = manv;
        }
        public STAFF(string manv, string tennv, DateTime ngaysinh, bool gioitinh, string diachi, string email, string sodt, bool tinhtranghonnhan, string socmnd, DateTime ngayvaodoan, string thedoan, string noisinhhoat, DateTime ngayvaodang, string thedang, string noisinhhoatdang, string ghichu, DateTime ngaybd, string macty, string mabc, string mapb, string macv, string mann, string maccm, int songayphep, string tencc, string anh, string userpw, string usercardno, int userprivilege, bool userenabled)
        {
            this.MANV = manv;
            this.TENNV = tennv;
            this.NGAYSINH = ngaysinh;
            this.GIOITINH = gioitinh;
            this.DIACHI = diachi;
            this.EMAIL = email;
            this.SODT = sodt;
            this.TINHTRANGHONNHAN = tinhtranghonnhan;
            this.SOCMND = socmnd;
            this.NGAYVAODOAN = ngayvaodoan;
            this.THEDOAN = thedoan;
            this.NOISINHHOAT = noisinhhoat;
            this.NGAYVAODANG = ngayvaodang;
            this.THEDANG = thedang;
            this.NOISINHHOATDANG = noisinhhoatdang;
            this.GHICHU = ghichu;
            this.NGAYBD = ngaybd;
            this.MACTY = macty;
            this.MABC = mabc;
            this.MAPB = mapb;
            this.MACV = macv;
            this.MANN = mann;
            this.MACCM = maccm;
            this.SONGAYPHEP = songayphep;
            this.TENCC = tencc;
            this.ANH = anh;
            this.UserPW = userpw;
            this.UserCardNo = usercardno;
            this.UserPrivilege = userprivilege;
            this.UserEnabled = userenabled;
        }
        #endregion
    }

}
